package com.shycloud.mido.member.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shycloud.mido.member.api.entity.MemberGoldLog;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 金币消费记录Mapper
 * @author yyy
 */
public interface MemberGoldLogMapper extends BaseMapper<MemberGoldLog> {

	/**
	 * 金币消费充值记录
	 * @param page    页码
	 * @param memberId 会员主键
	 * @return
	 */
	List<MemberGoldLog> goldLog(Page page,@Param("memberId") String memberId);
}
